package com.user.service.user.impl;


import com.comon.core.domain.result.R;
import com.user.domain.User.DTO.UserDTO;
import com.user.domain.User.DTO.UserRegDTO;
import jakarta.servlet.http.HttpServletRequest;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-08-24
 * Time:15:26
 * Text：
 */
public interface UserService {
    R<?> login(UserDTO userDTO, HttpServletRequest request);

    R<?> reg(UserRegDTO userRegDTO);

    R<?> layoutinfo(String token);

    String getName(Long id);

    R<?> getUPhone(int uphone);

    String getPhotoInfo(Long id);
}
